#!/usr/bin/env python
# -*-coding:UTF-8 -*-
'''
@Project ：19-xpath站长素材.py
@File：35-下载图片普通.py
@Author ：文非
@Date：2021/3/1511:03
@Require：
'''
import requests
import aiohttp
def download_pic(url):
    print("开始下载...............")
    img = requests.get(url==url).content
    print("下载完成................")
    file_name = url.rsplit('_')[-1]
    with open(file_name,"wb")as fp:
        fp.write(img)

if __name__ == "__main__":
    url_list=[

    ]
    for url in url_list:
        download_pic(url)